home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98c.txt / 000031_icon-group-sender _Tue Sep 15 16:24:34 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id QAA20524
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 15 Sep 1998 16:24:34 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA04079; Tue, 15 Sep 1998 16:24:06 -0700
  7. Date: Tue, 15 Sep 1998 13:57:13 -0700
  8. From: kwalker@sfo.harbinger.com (Ken Walker)
  9. Message-Id: <199809152057.NAA09001@varda.premenos.com>
  10. To: icon-group@optima.CS.Arizona.EDU
  11. Subject: Re: Context Switching
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii
  14. Content-Transfer-Encoding: 7bit
  15. Content-Md5: e40PQ5o00F2bK6KMYoGfVg==
  16. Content-Transfer-Encoding: 7bit
  17. Content-Transfer-Encoding: 7bit
  18. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  19. Content-Transfer-Encoding: 7bit
  20. Status: RO
  21.  
  22. > From evans@gte.net Tue Sep 15 12:45:59 1998
  23. > Thanks, but I think you missed my point.  The hidden assumption here is
  24. > that Icon function calls shall behave exactly like C function calls.  I
  25. > am trying to say that, with auxiliary data structures, the job might be
  26. > done without threads.
  27.  
  28. That is a good point. On the other hand the Icon runtime system is
  29. currently written in C and makes use of the C stack. There can be
  30. "suspended" C frames on stack when a context switch occurs. The changes
  31. needed to perform a co-expression context switch without doing a C-level
  32. context switch would be significant in the interpreter and some of
  33. the runtime system might end up looking rather ugly. It would be
  34. even more work in the compiler; the compiler converts Icon code into
  35. C code. Would such a change be worth making it a little easier to
  36. port co-expressions?
  37.  
  38. Ken Walker, kenneth.walker@sfo.harbinger.com
  39. Harbinger Coporation, Concord, Ca. 94520
  40.  
  41.